package com.alkaid.commons.msg;

/**
 * @author Kylin
 * 返回信息
 */
public class MsgDefinition {
    /* ###### 用户 start ###### */
    /** status 200 */
    public static final String LOGIN_SUCCESS = "登录成功";
    /** status 200 */
    public static final String LOGOUT_SUCCESS = "退出登录成功";
    /** status 201 */
    public static final String LOGIN_PLEASE = "请先登录";
    /** status 201 */
    public static final String USERNAME_PASSWORD_ERROR = "账号或密码错误";
    /** status 202 */
    public static final String LOGIN_FAILED = "登录失败";
    /** status 203 */
    public static final String LOGIN_EXPIRED = "登录过期，请重新登陆";
    /** status 203 */
    public static final String LOGIN_EXCEPTION = "登录异常，请重新登陆";
    /** status 204 */
    public static final String REFRESH_TOKEN = "更新token";
    /** status 206 */
    public static final String REG_FAILED = "注册失败，请稍后重试";
    /** status 207 */
    public static final String COINS_LOSS = "你的硬币不足哦";
    /** status 206 */
    public static final String USERNAME_EXISTS = "此手机号已注册";
    /** status 206 207 */
    public static final String NICKNAME_EXISTS = "昵称已存在";
    /** status 207 */
    public static final String INFO_UPDATE_ERROR = "信息修改失败";
    /** status 207 */
    public static final String PASSWORD_UPDATE_ERROR = "密码修改失败";
    /** status 207 */
    public static final String AVATAR_UPDATE_ERROR = "头像修改失败";
    /** status 404 */
    public static final String USER_NOT_REG = "此用户尚未注册";
    /** status 404 */
    public static final String USERNAME_NULL = "用户名为空";
    /* ###### 用户 end ###### */

    /* ###### 缓存 start ###### */
    /** status 401 */
    public static final String CACHE_FAILED = "缓存失败";
    public static final String CACHE_DELETE_FAILED = "缓存删除失败";
    /* ###### 缓存 end ###### */

    /* ###### 权限 start ###### */
    /** status 208 */
    public static final String AUTHORITY_ADD_REG_FAILED = "注册失败，请联系管理员解决";
    /** status 403 */
    public static final String AUTHORITY_LOSS = "权限不足";
    /** status 404 */
    public static final String AUTHORITY_NOTFOUND = "未查询到权限";
    /* ###### 权限 end ###### */

    /* ###### 验证码 start ###### */
    /** status 201 */
    public static final String SMS_ERROR = "验证码错误";
    /** status 205 */
    public static final String SMS_SEND_ERROR = "验证码发送失败";
    /** status 404 */
    public static final String SMS_NOLL = "您还没有请求发送验证码";
    /* ###### 验证码 end ###### */
}
